package cn.zcf.system.service;

import cn.zcf.basic.utils.PageList;
import cn.zcf.system.domain.Role;
import cn.zcf.system.query.RoleQuery;

import java.util.List;

public interface IRoleService {
    List<Role> loadAll();
    Role loadById(Long id);
    PageList<Role> pageQuery(RoleQuery query);
    void delete(Long id);
    void update(Role role);
    void save(Role role);
}
